﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="Scripts/justgage.1.0.1.js" type="text/javascript"></script>
    <script src="Scripts/justgage.1.0.1.min.js" type="text/javascript"></script>
    <script src="Scripts/raphael.2.1.0.min.js" type="text/javascript"></script>
    <link href="Styles/Site.css" rel="stylesheet" type="text/css" />
    <script>
        var g1, g2, g3, g4, g5, g6;

        window.onload = function () {
            var g1 = new JustGage({
                id: "g1",
                value: getRandomInt(0, 100),
                min: 0,
                max: 100,
                title: "Custom Width",
                label: "",
                gaugeWidthScale: 0.2,
                levelColors: [
          "#FF0E0E",
          "#FCF700",
          "#339900"
        ]
            });

            setInterval(function () {
                g1.refresh(getRandomInt(0, 100));
                g2.refresh(getRandomInt(0, 100));
                g3.refresh(getRandomInt(0, 100));
                g4.refresh(getRandomInt(0, 100));
                g5.refresh(getRandomInt(0, 100));
                g6.refresh(getRandomInt(0, 100));
            }, 2500);
        };
    </script>
</head>
<body>
    <div id="g1">
    </div>
</body>
</html>
